package com.example.dormitory_system.mapper;

import com.example.dormitory_system.domain.enetiy.HolidayStay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.dormitory_system.domain.vo.student.HolidayStayVO;
import com.example.dormitory_system.domain.vo.sysuser.SysHolidayStayVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author keenan
* @description 针对表【tb_holiday_stay(假期留校申请表)】的数据库操作Mapper
* @createDate 2025-03-26 15:28:42
* @Entity com.example.dormitory_system.domain.enetiy.HolidayStay
*/
public interface HolidayStayMapper extends BaseMapper<HolidayStay> {

    List<SysHolidayStayVO> selectHolidayStayList(@Param("userId") Long userId,
                                                 @Param("applyname") String applyname,
                                                 @Param("number") String number, Integer status);
    List<HolidayStayVO> selectByStudentId(Long studentId);
}